package com.example.texted.myenum;

public enum GMEnum implements GM {
    TTK("TTK_V") {
        @Override
        public void Do() {
            System.out.println("TTK_DO");
        }
    },
    TTK2("TTK2_V") {
        @Override
        public void Do() {
            System.out.println("TTK2_DO");
        }
    },
    TTK3("TTK3_V") {
        @Override
        public void Do() {
            System.out.println("TTK3_DO");
        }
    };

    private final String name;

    GMEnum(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
}
